package com.atguigu.customer.demo.service.impl;

import com.atguigu.customer.demo.bean.Customer;
import com.atguigu.customer.demo.service.CustomerService;
import org.springframework.stereotype.Service;


@Service  //服务组件   默认是单态
public class CustomerServiceImpl  implements CustomerService {


    @Override
    public void saveCustomer(Customer customer) {
        //
        System.out.println("保存用户："+customer);

    }
}
